﻿using Sunny.Service;

namespace Sunny.Model.RedisCache
{
    public class UserKeyPrefix : AbstractRedisKeyPrefix
    {
        public UserKeyPrefix(string key) : base(key)
        {
        }

        public UserKeyPrefix(string keyPrefix, int expire) : base(keyPrefix, expire)
        {
        }

        public static readonly UserKeyPrefix Token = new UserKeyPrefix("user:token", 60 * 60 * 2);
        public static readonly UserKeyPrefix Info = new UserKeyPrefix("user:info", 60 * 60 * 2);
    }
}